package com.henu.main.entities;

public class YarnApplication {

    @Override
    public String toString() {
        return "YarnApplication{" +
                "id='" + id + '\'' +
                ", user='" + user + '\'' +
                ", name='" + name + '\'' +
                ", queue='" + queue + '\'' +
                ", state='" + state + '\'' +
                ", finalStatus='" + finalStatus + '\'' +
                ", progress=" + progress +
                ", trackingUI='" + trackingUI + '\'' +
                ", trackingUrl='" + trackingUrl + '\'' +
                ", diagnostics='" + diagnostics + '\'' +
                ", clusterId=" + clusterId +
                ", applicationType='" + applicationType + '\'' +
                ", applicationTags='" + applicationTags + '\'' +
                ", priority=" + priority +
                ", startedTime=" + startedTime +
                ", launchTime=" + launchTime +
                ", finishedTime=" + finishedTime +
                ", elapsedTime=" + elapsedTime +
                ", amContainerLogs='" + amContainerLogs + '\'' +
                ", amHostHttpAddress='" + amHostHttpAddress + '\'' +
                ", amRPCAddress='" + amRPCAddress + '\'' +
                ", allocatedMB=" + allocatedMB +
                ", allocatedVCores=" + allocatedVCores +
                ", reservedMB=" + reservedMB +
                ", reservedVCores=" + reservedVCores +
                ", runningContainers=" + runningContainers +
                ", memorySeconds=" + memorySeconds +
                ", vcoreSeconds=" + vcoreSeconds +
                ", queueUsagePercentage=" + queueUsagePercentage +
                ", clusterUsagePercentage=" + clusterUsagePercentage +
                ", preemptedResourceMB=" + preemptedResourceMB +
                ", preemptedResourceVCores=" + preemptedResourceVCores +
                ", numNonAMContainerPreempted=" + numNonAMContainerPreempted +
                ", numAMContainerPreempted=" + numAMContainerPreempted +
                ", preemptedMemorySeconds=" + preemptedMemorySeconds +
                ", preemptedVcoreSeconds=" + preemptedVcoreSeconds +
                ", logAggregationStatus='" + logAggregationStatus + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getQueue() {
        return queue;
    }

    public void setQueue(String queue) {
        this.queue = queue;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getFinalStatus() {
        return finalStatus;
    }

    public void setFinalStatus(String finalStatus) {
        this.finalStatus = finalStatus;
    }

    public Double getProgress() {
        return progress;
    }

    public void setProgress(Double progress) {
        this.progress = progress;
    }

    public String getTrackingUI() {
        return trackingUI;
    }

    public void setTrackingUI(String trackingUI) {
        this.trackingUI = trackingUI;
    }

    public String getTrackingUrl() {
        return trackingUrl;
    }

    public void setTrackingUrl(String trackingUrl) {
        this.trackingUrl = trackingUrl;
    }

    public String getDiagnostics() {
        return diagnostics;
    }

    public void setDiagnostics(String diagnostics) {
        this.diagnostics = diagnostics;
    }

    public Long getClusterId() {
        return clusterId;
    }

    public void setClusterId(Long clusterId) {
        this.clusterId = clusterId;
    }

    public String getApplicationType() {
        return applicationType;
    }

    public void setApplicationType(String applicationType) {
        this.applicationType = applicationType;
    }

    public String getApplicationTags() {
        return applicationTags;
    }

    public void setApplicationTags(String applicationTags) {
        this.applicationTags = applicationTags;
    }

    public Double getPriority() {
        return priority;
    }

    public void setPriority(Double priority) {
        this.priority = priority;
    }

    public Long getStartedTime() {
        return startedTime;
    }

    public void setStartedTime(Long startedTime) {
        this.startedTime = startedTime;
    }

    public Long getLaunchTime() {
        return launchTime;
    }

    public void setLaunchTime(Long launchTime) {
        this.launchTime = launchTime;
    }

    public Long getFinishedTime() {
        return finishedTime;
    }

    public void setFinishedTime(Long finishedTime) {
        this.finishedTime = finishedTime;
    }

    public Long getElapsedTime() {
        return elapsedTime;
    }

    public void setElapsedTime(Long elapsedTime) {
        this.elapsedTime = elapsedTime;
    }

    public String getAmContainerLogs() {
        return amContainerLogs;
    }

    public void setAmContainerLogs(String amContainerLogs) {
        this.amContainerLogs = amContainerLogs;
    }

    public String getAmHostHttpAddress() {
        return amHostHttpAddress;
    }

    public void setAmHostHttpAddress(String amHostHttpAddress) {
        this.amHostHttpAddress = amHostHttpAddress;
    }

    public String getAmRPCAddress() {
        return amRPCAddress;
    }

    public void setAmRPCAddress(String amRPCAddress) {
        this.amRPCAddress = amRPCAddress;
    }

    public Long getAllocatedMB() {
        return allocatedMB;
    }

    public void setAllocatedMB(Long allocatedMB) {
        this.allocatedMB = allocatedMB;
    }

    public Long getAllocatedVCores() {
        return allocatedVCores;
    }

    public void setAllocatedVCores(Long allocatedVCores) {
        this.allocatedVCores = allocatedVCores;
    }

    public Long getReservedMB() {
        return reservedMB;
    }

    public void setReservedMB(Long reservedMB) {
        this.reservedMB = reservedMB;
    }

    public Long getReservedVCores() {
        return reservedVCores;
    }

    public void setReservedVCores(Long reservedVCores) {
        this.reservedVCores = reservedVCores;
    }

    public Long getRunningContainers() {
        return runningContainers;
    }

    public void setRunningContainers(Long runningContainers) {
        this.runningContainers = runningContainers;
    }

    public Long getMemorySeconds() {
        return memorySeconds;
    }

    public void setMemorySeconds(Long memorySeconds) {
        this.memorySeconds = memorySeconds;
    }

    public Long getVcoreSeconds() {
        return vcoreSeconds;
    }

    public void setVcoreSeconds(Long vcoreSeconds) {
        this.vcoreSeconds = vcoreSeconds;
    }

    public Double getQueueUsagePercentage() {
        return queueUsagePercentage;
    }

    public void setQueueUsagePercentage(Double queueUsagePercentage) {
        this.queueUsagePercentage = queueUsagePercentage;
    }

    public Double getClusterUsagePercentage() {
        return clusterUsagePercentage;
    }

    public void setClusterUsagePercentage(Double clusterUsagePercentage) {
        this.clusterUsagePercentage = clusterUsagePercentage;
    }

    public Long getPreemptedResourceMB() {
        return preemptedResourceMB;
    }

    public void setPreemptedResourceMB(Long preemptedResourceMB) {
        this.preemptedResourceMB = preemptedResourceMB;
    }

    public Long getPreemptedResourceVCores() {
        return preemptedResourceVCores;
    }

    public void setPreemptedResourceVCores(Long preemptedResourceVCores) {
        this.preemptedResourceVCores = preemptedResourceVCores;
    }

    public Long getNumNonAMContainerPreempted() {
        return numNonAMContainerPreempted;
    }

    public void setNumNonAMContainerPreempted(Long numNonAMContainerPreempted) {
        this.numNonAMContainerPreempted = numNonAMContainerPreempted;
    }

    public Long getNumAMContainerPreempted() {
        return numAMContainerPreempted;
    }

    public void setNumAMContainerPreempted(Long numAMContainerPreempted) {
        this.numAMContainerPreempted = numAMContainerPreempted;
    }

    public Long getPreemptedMemorySeconds() {
        return preemptedMemorySeconds;
    }

    public void setPreemptedMemorySeconds(Long preemptedMemorySeconds) {
        this.preemptedMemorySeconds = preemptedMemorySeconds;
    }

    public Long getPreemptedVcoreSeconds() {
        return preemptedVcoreSeconds;
    }

    public void setPreemptedVcoreSeconds(Long preemptedVcoreSeconds) {
        this.preemptedVcoreSeconds = preemptedVcoreSeconds;
    }

    public String getLogAggregationStatus() {
        return logAggregationStatus;
    }

    public void setLogAggregationStatus(String logAggregationStatus) {
        this.logAggregationStatus = logAggregationStatus;
    }

    public YarnApplication(String id, String user, String name, String queue, String state, String finalStatus, Double progress, String trackingUI, String trackingUrl, String diagnostics, Long clusterId, String applicationType, String applicationTags, Double priority, Long startedTime, Long launchTime, Long finishedTime, Long elapsedTime, String amContainerLogs, String amHostHttpAddress, String amRPCAddress, Long allocatedMB, Long allocatedVCores, Long reservedMB, Long reservedVCores, Long runningContainers, Long memorySeconds, Long vcoreSeconds, Double queueUsagePercentage, Double clusterUsagePercentage, Long preemptedResourceMB, Long preemptedResourceVCores, Long numNonAMContainerPreempted, Long numAMContainerPreempted, Long preemptedMemorySeconds, Long preemptedVcoreSeconds, String logAggregationStatus) {
        this.id = id;
        this.user = user;
        this.name = name;
        this.queue = queue;
        this.state = state;
        this.finalStatus = finalStatus;
        this.progress = progress;
        this.trackingUI = trackingUI;
        this.trackingUrl = trackingUrl;
        this.diagnostics = diagnostics;
        this.clusterId = clusterId;
        this.applicationType = applicationType;
        this.applicationTags = applicationTags;
        this.priority = priority;
        this.startedTime = startedTime;
        this.launchTime = launchTime;
        this.finishedTime = finishedTime;
        this.elapsedTime = elapsedTime;
        this.amContainerLogs = amContainerLogs;
        this.amHostHttpAddress = amHostHttpAddress;
        this.amRPCAddress = amRPCAddress;
        this.allocatedMB = allocatedMB;
        this.allocatedVCores = allocatedVCores;
        this.reservedMB = reservedMB;
        this.reservedVCores = reservedVCores;
        this.runningContainers = runningContainers;
        this.memorySeconds = memorySeconds;
        this.vcoreSeconds = vcoreSeconds;
        this.queueUsagePercentage = queueUsagePercentage;
        this.clusterUsagePercentage = clusterUsagePercentage;
        this.preemptedResourceMB = preemptedResourceMB;
        this.preemptedResourceVCores = preemptedResourceVCores;
        this.numNonAMContainerPreempted = numNonAMContainerPreempted;
        this.numAMContainerPreempted = numAMContainerPreempted;
        this.preemptedMemorySeconds = preemptedMemorySeconds;
        this.preemptedVcoreSeconds = preemptedVcoreSeconds;
        this.logAggregationStatus = logAggregationStatus;
    }

    public YarnApplication() {
    }

    private String id;
    private String user;
    private String name;
    private String queue;
    private String state;
    private String finalStatus;
    private Double progress;
    private String trackingUI;
    private String trackingUrl;
    private String diagnostics;
    private Long clusterId;
    private String applicationType;
    private String applicationTags;
    private Double priority;
    private Long startedTime;
    private Long launchTime;
    private Long finishedTime;
    private Long elapsedTime;
    private String amContainerLogs;
    private String amHostHttpAddress;
    private String amRPCAddress;
    private Long allocatedMB;
    private Long allocatedVCores;
    private Long reservedMB;
    private Long reservedVCores;
    private Long runningContainers;
    private Long memorySeconds;
    private Long vcoreSeconds;
    private Double queueUsagePercentage;
    private Double clusterUsagePercentage;
    private Long preemptedResourceMB;
    private Long preemptedResourceVCores;
    private Long numNonAMContainerPreempted;
    private Long numAMContainerPreempted;
    private Long preemptedMemorySeconds;
    private Long preemptedVcoreSeconds;
    private String logAggregationStatus;
}
